{include file="layout/header" title="数据统计" /}
{include file="layout/sidebar" /}
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            选课管理
            <small>数据统计 已经有<strong style="color:red;">{$enrollmentCount}</strong>门课程被选取</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 选课管理</a></li>
            <li class="active">数据统计</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="box">
            <div class="box-header">
                <h3 class="box-title">课程选课情况</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body no-padding">
                <table class="table table-condensed">
                    <tr>
                        <th style="width: 10px">#</th>
                        <th>课程名</th>
                        <th>教师名</th>
                        <th>进展</th>
                        <th style="width: 40px">情况</th>
                    </tr>
                    {volist name='list' id='course'}
                    <tr>
                        <td>{$course[0]}.</td>
                        <td>{$course[1]}</td>
                        <td>{$course[2]}</td>
                        <td>
                            <div class="progress progress-xs">
                                <div class="{$course[5]}" style="width: {$course[3]}%;"></div>
                            </div>
                        </td>
                        <td><span class="{$course[6]}">{$course[4]}</span></td>
                    </tr>
                    {/volist}
                </table>
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->        
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
{include file="layout/footer" /}